<?php

if(! defined('OT_ROOT')) {
	exit('Access Denied');
}


class AppWeixinJs{
	public static $appName = '微信分享带缩略图摘要';
	public static $appID = 62;

	function __construct(){
		if (! self::Jud()){ die('未购买该插件，无法使用（WeixinJs）。'); }
	}

	public static function Jud(){
		return false;
	}

	public static function Show($str, $def=''){
			return $def;
	}

	function SetUrlMode($num){

	}

	function SetApiId($str){

	}

	function SetApiKey($str){

	}

	function SetApiUrl($str){

	}

	function HttpGet($url){

	}

	function HttpGetJson($url,$name,$errMode='',$errStr=''){

	}

	function MpAccessToken($errMode='',$reload=false){

	}

	public function GetJsSign($url='') {

	}

	private function GetJsTicket($reload=false) {
	}

	public static function AppSysTrBox($AS_isWeixinJs, $AS_weixinIsBug, $AS_weixinImgMode, $AS_weixinImgDef, $AS_weixinAppId, $AS_weixinAppSecret, $AS_weixinThemeHead='', $AS_weixinThemeFoot='', $AS_weixinDescHead='', $AS_weixinDescFoot=''){
		return Adm::PluDefItem(self::$appName, '微信JSSDK分享接口');
	}

	public static function ShareJs($link, $theme, $img, $desc){

	}

	public static function ShareDeal($url){

	}
}
?>